package org.example.base;

public interface IFly {

    // 默认public final static
    int a = 10;

    // 留给子类重写
    default String info() {return "fly";}
    // 默认public
    static String info2() {return "fly";}

    // 默认public abstract
    int add();

    public static void main(String[] args) {
        int a1 = IFly.a;
        IFly.info2();
    }

}
